package com.tsingtree.modular.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 回复
 * </p>
 *
 * @author jagger
 * @since 2024-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="NanSellAnnounceReply对象", description="回复")
public class NanSellAnnounceReply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "点赞数")
    private Integer likeTimes;

    @ApiModelProperty(value = "评论ID")
    private Integer commentId;

    @ApiModelProperty(value = "回复人")
    private Integer replyUserId;

    @ApiModelProperty(value = "版本号")
    @Version
    private Integer version;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDel;

    @ApiModelProperty(value = "回复ID")
    private Integer replyId;

    @ApiModelProperty(value = "文章ID")
    private Integer announceId;

    @ApiModelProperty(value = "文章作者")
    private Integer announceUserId;


}
